package com.ruoyi.scm.service;

import com.ruoyi.scm.domain.ScmPurchaseApply;

import java.util.List;

/**
 * 采购申请Service接口
 * 
 * @author Ryan
 * @date 2025-03-12
 */
public interface IScmPurchaseApplyService
{
    /**
     * 查询采购申请
     * 
     * @param id 采购申请主键
     * @return 采购申请
     */
    public ScmPurchaseApply getById(Long id);

    /**
     * 查询采购申请列表
     * 
     * @param scmPurchaseApply 采购申请
     * @return 采购申请集合
     */
    public List<ScmPurchaseApply> getList(ScmPurchaseApply scmPurchaseApply);

    /**
     * 新增采购申请
     * 
     * @param scmPurchaseApply 采购申请
     * @return 结果
     */
    public int add(ScmPurchaseApply scmPurchaseApply);

    /**
     * 修改采购申请
     * 
     * @param scmPurchaseApply 采购申请
     * @return 结果
     */
    public int edit(ScmPurchaseApply scmPurchaseApply);

    /**
     * 批量删除采购申请
     * 
     * @param ids 需要删除的采购申请主键集合
     * @return 结果
     */
    public int del(Long[] ids);
}
